package com.dl.study.bean;

import java.util.Date;
import java.util.Map;

/**
 * create by chongyahhh
 * 2020/4/4
 */
public class WrappedTaskBean {
    private String id;
    private String name;
    private String owner;
    private String assignee;
    private String description;
    private Date createdDate;
    private Date claimedDate;
    private Date dueDate;
    private int priority;
    private String processDefinitionId;
    private String processInstanceId;
    private String parentTaskId;
    private String taskDefinitionKey;
    private Map<String,Object> taskLocalVariables;
    private Map<String,Object> processVariables;

    public WrappedTaskBean() {
    }

    public WrappedTaskBean(String id, String name, String owner, String assignee, String description, Date createdDate, Date claimedDate, Date dueDate, int priority, String processDefinitionId, String processInstanceId, String parentTaskId,String taskDefinitionKey) {
        this.id = id;
        this.name = name;
        this.owner = owner;
        this.assignee = assignee;
        this.description = description;
        this.createdDate = createdDate;
        this.claimedDate = claimedDate;
        this.dueDate = dueDate;
        this.priority = priority;
        this.processDefinitionId = processDefinitionId;
        this.processInstanceId = processInstanceId;
        this.parentTaskId = parentTaskId;
        this.taskDefinitionKey = taskDefinitionKey;
    }

    public WrappedTaskBean(String id, String name, String owner, String assignee, String description, Date createdDate, Date claimedDate, Date dueDate, int priority, String processDefinitionId, String processInstanceId, String parentTaskId,String taskDefinitionKey,Map<String,Object> taskLocalVariables,Map<String,Object> processVariables) {
        this.id = id;
        this.name = name;
        this.owner = owner;
        this.assignee = assignee;
        this.description = description;
        this.createdDate = createdDate;
        this.claimedDate = claimedDate;
        this.dueDate = dueDate;
        this.priority = priority;
        this.processDefinitionId = processDefinitionId;
        this.processInstanceId = processInstanceId;
        this.parentTaskId = parentTaskId;
        this.taskDefinitionKey = taskDefinitionKey;
        this.taskLocalVariables = taskLocalVariables;
        this.processVariables = processVariables;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getAssignee() {
        return assignee;
    }

    public void setAssignee(String assignee) {
        this.assignee = assignee;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Date getClaimedDate() {
        return claimedDate;
    }

    public void setClaimedDate(Date claimedDate) {
        this.claimedDate = claimedDate;
    }

    public Date getDueDate() {
        return dueDate;
    }

    public void setDueDate(Date dueDate) {
        this.dueDate = dueDate;
    }

    public int getPriority() {
        return priority;
    }

    public void setPriority(int priority) {
        this.priority = priority;
    }

    public String getProcessDefinitionId() {
        return processDefinitionId;
    }

    public void setProcessDefinitionId(String processDefinitionId) {
        this.processDefinitionId = processDefinitionId;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public String getParentTaskId() {
        return parentTaskId;
    }

    public void setParentTaskId(String parentTaskId) {
        this.parentTaskId = parentTaskId;
    }

    public String getTaskDefinitionKey() {
        return taskDefinitionKey;
    }

    public void setTaskDefinitionKey(String taskDefinitionKey) {
        this.taskDefinitionKey = taskDefinitionKey;
    }

    public Map<String, Object> getTaskLocalVariables() {
        return taskLocalVariables;
    }

    public void setTaskLocalVariables(Map<String, Object> taskLocalVariables) {
        this.taskLocalVariables = taskLocalVariables;
    }

    public Map<String, Object> getProcessVariables() {
        return processVariables;
    }

    public void setProcessVariables(Map<String, Object> processVariables) {
        this.processVariables = processVariables;
    }
}
